package net.ilabs.resthubtest.controller;

import javax.inject.Inject;
import javax.inject.Named;
import javax.ws.rs.Path;

import net.ilabs.resthubtest.model.SampleResource;
import net.ilabs.resthubtest.service.SampleService;
import org.resthub.web.controller.GenericResourceController;

@Path("/sample")
@Named("sampleController")
public class SampleController extends GenericResourceController<SampleResource, SampleService> {

    @Inject
    @Named("sampleService")
    @Override
    public void setService(SampleService service) {
        this.service = service;
    }
}
